<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title></title>
    <%@include file="/common/header.jspf"%>
    <script type="text/javascript" src="${ctx}/resources/js/emergency/common/dictionaryPaths.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/emergency/common/base.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/emergency/team/base.js"></script>
    <script type="text/javascript" src="${ctx}/resources/js/emergency/team/edit.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>
</div>
<div class="information">
    <form id="submit_form" method="post">
        <input type="hidden" name="id" id="teamId" value="${team.id}">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_one">
                    <label class="lable-style">队伍名称:</label>
                    <input type="text" class="easyui-textbox" id="deptId" name="deptId" value="${team.deptId}"   data-options="required:true" style="width: 240px;" title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">队伍规范名称:</label>
                    <input type="text" class="easyui-textbox" name="name" id="name" value="${team.name}"  data-options="required:true" style="width: 240px;" title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">队伍类型:</label>
                    <input type="text" class="easyui-textbox" name="typeId" value="${team.typeId}" id="typeId"   style="width: 240px;" title="">

                </div>

            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">建制:</label>
                    <input type="text" class="easyui-textbox" name="systemId" value="${team.systemId}" id="systemId"  style="width: 240px;"  title="">

                </div>
                <div class="form_one">
                    <label class="lable-style">上级队伍:</label>
                    <input type="text" class="easyui-textbox" name="parentId" value="${team.parentId}" id="parentId" style="width: 240px;" title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">专业特色:</label>
                    <input type="text" class="easyui-textbox" name="majorId" value="${team.majorId}" id="majorId" style="width: 240px;"  title="">
                </div>

            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">成立日期:</label>
                    <input type="text" class="easyui-datebox" name="establishmentDate" value="${team.establishmentDate}" id="establishmentDate" data-options="editable:false,required:true"  style="width: 240px;"   title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">应急值班电话:</label>
                    <input type="text" class="easyui-textbox"  name="dutyPhone" value="${team.dutyPhone}" style="width: 240px;"  title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">负责人:</label>
                    <input type="text" class="easyui-textbox" id="chargePersonName" value="${team.chargePersonName}"   style="width: 240px;">
                    <input type="hidden" name="chargePersonId" value="${team.chargePersonId}" id="chargePersonId">

                </div>

            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">联系电话:</label>
                    <input type="text" class="easyui-textbox" name="phone" value="${team.phone}"  style="width: 240px;">

                </div>

                <div class="form_one">
                    <label class="lable-style">手机:</label>
                    <input type="text" class="easyui-textbox" value="${team.mobilePhone}"  name="mobilePhone" style="width: 240px;"  title="">
                </div>
                <div class="form_one">
                    <label class="lable-style">基地:</label>
                    <input type="text" class="easyui-textbox" name="baseId" value="${team.baseId}" id="baseId"   style="width: 240px;">

                </div>

            </div>
            <div style="clear: both">

                <div class="form_one">
                    <label class="lable-style">基地确认时间:</label>
                    <input type="text" class="easyui-datebox" name="baseDate" value="${team.baseDate}"  data-options="editable:false,required:true"  style="width: 240px;">

                </div>
            </div>
            <div style="clear: both">

                <div class="form_two" style="width: 1100px">
                    <label class="lable-style">简介:</label>
                    <input class="easyui-textbox" data-options="multiline:true" value="${team.synopsis}" name="synopsis" style="height: 50px;width: 960px;" title=""/>
                </div>
            </div>
        </div>
        <div class="information" id="leader_div" >
            <div class="information-title">
                <p>领导班子成员信息</p>
                <a class="panel-down" href="javascript:void(0)">
                    <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
                </a>
            </div>
            <div class="cuttle">
                <div style="height:300px;">
                    <div class="easyui-layout" data-options="fit:true">
                        <div data-options="region:'center',border:true">
                            <div id="leaderToolbar"  style="padding: 5px 10px !important">

                                <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-plus fa-lg" id="btn_leader_add" >添加</a>
                                <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-trash fa-lg" id="btn_leader_remove" >删除</a>

                            </div>
                            <table id="leader_table"></table>
                        </div>
                    </div>

                </div>
            </div>
        </div>
        <div class="information" id="functional_div" >
            <div class="information-title">
                <p>职能部门成员信息</p>
                <a class="panel-down" href="javascript:void(0)">
                    <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
                </a>
            </div>
            <div class="cuttle">
                <div style="height:300px;">
                    <div class="easyui-layout" data-options="fit:true">
                        <div data-options="region:'center',border:true">
                            <div id="functionalToolbar"  style="padding: 5px 10px !important">

                                <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-plus fa-lg" id="btn_functional_add" >添加</a>
                                <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-trash fa-lg" id="btn_functional_remove" >删除</a>

                            </div>
                            <table id="functional_table"></table>
                        </div>
                    </div>

                </div>
            </div>
        </div>
        <div class="information" id="basicLevel_div" >
            <div class="information-title">
                <p>基层成员信息</p>
                <a class="panel-down" href="javascript:void(0)">
                    <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
                </a>
            </div>
            <div class="cuttle">
                <div style="height:300px;">
                    <div class="easyui-layout" data-options="fit:true">
                        <div data-options="region:'center',border:true">
                            <div id="basicLevelToolbar" style="padding: 5px 10px !important">

                                <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-plus fa-lg" id="btn_basicLevel_add" >添加</a>
                                <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-trash fa-lg" id="btn_basicLevel_remove" >删除</a>

                            </div>
                            <table id="basicLevel_table"></table>
                        </div>
                    </div>

                </div>
            </div>
        </div>
        <div class="information" id="serviceArea_div" >
            <div class="information-title">
                <p>服务区域</p>
                <a class="panel-down" href="javascript:void(0)">
                    <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
                </a>
            </div>
            <div class="cuttle">
                <div style="height:300px;">
                    <div class="easyui-layout" data-options="fit:true">
                        <div data-options="region:'center',border:true">
                            <div id="serviceAreaToolbar" style="padding: 5px 10px !important">

                                <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-plus fa-lg" id="btn_serviceArea_add" >添加</a>
                                <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-trash fa-lg" id="btn_serviceArea_remove" >删除</a>

                            </div>
                            <table id="serviceArea_table"></table>
                        </div>
                    </div>

                </div>
            </div>
        </div>

    </form>

</div>

</body>
</html>
